import React from 'react' 

    const Item = (props)=>{
        return (<li>{props.children}
        
        <button onClick={()=>props.del(props.id)}>删除</button> 
        <button onClick={()=>props.edit(props.id)}>修改</button> 
        </li>)
    }

    export default Item;